package main

import "math"

func main() {
	Byte()
}

func Number() {
	var a int = 456
	var b = 123
	println(a + b)
	println(a - b)
	println(a * b)
	println(a / b)
	println(a % b)
	//if b!=0 {
	//	println(a / b)
	//	println(a % b)
	//}

	// 不同类型的数值不能计算
	var c float64 = 12.3
	//println(a + c)
	println(float64(a) + c)

	Extremum()
}

func Extremum() {
	println("float64 最大值", math.MaxFloat64)
	println("float64 最小的正数", math.SmallestNonzeroFloat64)

	//var aa uint = 12
	//var bb uint64 = 12
	//println(aa + bb)
	println(math.MaxInt8)
	println(math.MinInt8)
	println(math.MaxUint8)
	//println(math.MaxUint64)

}
